package ooday01;

public class CarTest {
    public static void main(String[] args) {
        Car A = new Car("奔驰", 300000, "黑色");
        A.start();
        A.run();
        A.stop();
        System.out.println("---------------------------------------------");
        Car B = new Car("宝马", 350000, "白色");
        B.start();
        B.run();
        B.stop();
        System.out.println("---------------------------------------------");
        Car C = new Car();
        C.start();
        C.run();
        C.stop();

    }
}
